.PHONY:all
all:service ecgi
service:Main.cpp
	g++ $^ -o $@ -std=c++11 -lpthread
ecgi:cgi/cgi1.cpp
	g++ $^ -o $@ -std=c++11
.PHONY:clean
clean:
	rm -rf service ecgi output
.PHTNY:output
output:
	mkdir -p output
	cp -r service output
	cp -r wwwroot output
	cp -r ./ecgi output/wwwroot
	cp -r ./ecgi wwwroot